import homeIcon from '@/assets/icom/meun/home.png'
import miningIcon from '@/assets/icom/meun/mining.png'
import walletIcon from '@/assets/icom/meun/wallet.png'
import communityIcon from '@/assets/icom/meun/community.png'
import nodeIcon from '@/assets/icom/meun/node.png'
const routes = [
  {
    path: '/index',
    name: 'Index',
    component: () => import('../../views/Index/index.vue'),
    meta: {
      auth: false,
      title: '首页',
      keepAlive: true,
      headerTheme: 'dark',
      showTips: true,
      isMeun: true,
      icon: homeIcon
    }
  },
  {
    path: '/wallet',
    name: 'wallet',
    component: () => import('../../views/wallet/index.vue'),
    meta: {
      auth: false,
      title: '我的钱包',
      keepAlive: true,
      headerTheme: 'dark',
      showTips: false,
      isMeun: true,
      icon: walletIcon
    }
  },
  {
    path: '/node',
    name: 'node',
    component: () => import('../../views/node/index.vue'),
    meta: {
      auth: false,
      title: '节点招募',
      keepAlive: true,
      headerTheme: 'dark',
      showTips: true,
      isMeun: true,
      icon: nodeIcon
    }
  },
  {
    path: '/computing',
    name: 'computing',
    component: () => import('../../views/computing/index.vue'),
    meta: {
      auth: false,
      title: '算力认购',
      keepAlive: true,
      headerTheme: 'dark',
      showTips: true,
      isMeun: true
    }
  },
  {
    path: '/assetsRecord',
    name: 'assetsRecord',
    component: () => import('../../views/community/record.vue'),
    meta: {
      auth: false,
      title: '资产记录',
      keepAlive: true,
      headerTheme: 'dark',
      showTips: true,
      isMeun: false
    }
  },
  {
    path: '/mining',
    name: 'mining',
    component: () => import('../../views/mining/index.vue'),
    meta: {
      auth: false,
      title: '入金挖矿',
      keepAlive: true,
      headerTheme: 'dark',
      showTips: true,
      isMeun: true,
      icon: miningIcon
    }
  },
  {
    path: '/deposit',
    name: 'deposit',
    component: () => import('../../views/mining/deposit.vue'),
    meta: {
      auth: false,
      title: '入金内页',
      keepAlive: true,
      headerTheme: 'dark',
      showTips: true,
      isMeun: false
    }
  }
]
export default routes
